package object;

public class Test {
    public static void main(String[] args) {
        Bigstudent stu1 = new Bigstudent("张三","123","男","计算机");
        Bigstudent stu2 = new Bigstudent("张三","123","男","计算机");
        System.out.println(stu1.equals((stu2)));
        Postgraduate stud1 = new Postgraduate("张三","123","男","王");
        Postgraduate stud2 = new Postgraduate("张三","123","男","王");
        System.out.println(stud1.equals(stud2));
    }
}
